package bupt.party.online.model;

import java.sql.Timestamp;

/**
 * Branch entity. @author MyEclipse Persistence Tools
 */

public class Branch implements java.io.Serializable {

	// Fields

	private Integer id;
	private String branchName;
	private String branchPic;
	private String branchSecretaryName;
	private String branchViceSecretaryName;
	private Timestamp createTime;
	private String organizationName;
	private String unitedName;
	private String massesName;
	private String confidentialityName;
	private String youthName;
	private String disciplineName;
	private String publicityName;
	private String branchHonor;
	private String branchSummary;
	private Integer isDelete;
	private Integer parentId;
	private Integer level;
	

	// Constructors

	/** default constructor */
	
	
	
	public Branch() {
	}

	/** minimal constructor */
	public Branch(String branchName, Integer isDelete) {
		this.branchName = branchName;
		this.isDelete = isDelete;
	}

	/** full constructor */
	public Branch(String branchName, String branchPic,
			String branchSecretaryName, Timestamp createTime,
			String organizationName, String unitedName, String massesName,
			String confidentialityName, String youthName,
			String disciplineName, String publicityName, String branchHonor,
			String branchSummary, Integer isDelete,Integer parentId) {
		this.branchName = branchName;
		this.branchPic = branchPic;
		this.branchSecretaryName = branchSecretaryName;
		this.createTime = createTime;
		this.organizationName = organizationName;
		this.unitedName = unitedName;
		this.massesName = massesName;
		this.confidentialityName = confidentialityName;
		this.youthName = youthName;
		this.disciplineName = disciplineName;
		this.publicityName = publicityName;
		this.branchHonor = branchHonor;
		this.branchSummary = branchSummary;
		this.isDelete = isDelete;
		this.parentId = parentId;
	}

	// Property accessors
	
	public Integer getParentId() {
		return parentId;
	}

	

	

	public String getBranchViceSecretaryName() {
		return branchViceSecretaryName;
	}

	public void setBranchViceSecretaryName(String branchViceSecretaryName) {
		this.branchViceSecretaryName = branchViceSecretaryName;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBranchName() {
		return this.branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public String getBranchPic() {
		return this.branchPic;
	}

	public void setBranchPic(String branchPic) {
		this.branchPic = branchPic;
	}

	public String getBranchSecretaryName() {
		return this.branchSecretaryName;
	}

	public void setBranchSecretaryName(String branchSecretaryName) {
		this.branchSecretaryName = branchSecretaryName;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getOrganizationName() {
		return this.organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}

	public String getUnitedName() {
		return this.unitedName;
	}

	public void setUnitedName(String unitedName) {
		this.unitedName = unitedName;
	}

	public String getMassesName() {
		return this.massesName;
	}

	public void setMassesName(String massesName) {
		this.massesName = massesName;
	}

	public String getConfidentialityName() {
		return this.confidentialityName;
	}

	public void setConfidentialityName(String confidentialityName) {
		this.confidentialityName = confidentialityName;
	}

	public String getYouthName() {
		return this.youthName;
	}

	public void setYouthName(String youthName) {
		this.youthName = youthName;
	}

	public String getDisciplineName() {
		return this.disciplineName;
	}

	public void setDisciplineName(String disciplineName) {
		this.disciplineName = disciplineName;
	}

	public String getPublicityName() {
		return this.publicityName;
	}

	public void setPublicityName(String publicityName) {
		this.publicityName = publicityName;
	}

	public String getBranchHonor() {
		return this.branchHonor;
	}

	public void setBranchHonor(String branchHonor) {
		this.branchHonor = branchHonor;
	}

	public String getBranchSummary() {
		return this.branchSummary;
	}

	public void setBranchSummary(String branchSummary) {
		this.branchSummary = branchSummary;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	@Override
	public String toString() {
		return "Branch [id=" + id + ", branchName=" + branchName
				+ ", branchPic=" + branchPic + ", branchSecretaryName="
				+ branchSecretaryName + ", createTime=" + createTime
				+ ", organizationName=" + organizationName + ", unitedName="
				+ unitedName + ", massesName=" + massesName
				+ ", confidentialityName=" + confidentialityName
				+ ", youthName=" + youthName + ", disciplineName="
				+ disciplineName + ", publicityName=" + publicityName
				+ ", branchHonor=" + branchHonor + ", branchSummary="
				+ branchSummary + ", isDelete=" + isDelete + ", parentId="
				+ parentId + "]";
	}

}